<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div>嘎嘎嘎嘎嘎嘎嘎嘎嘎嘎</div>
    <button onclick="hhh()" id="aaa">dddddd</button>
</body>

</html>
<script>
    let pa = document.querySelector('#aaa')
    let receive = window.opener["filter"];
    //获取接收到的数据


    function hhh() {
        console.log('111111',window.location.search)
    }
</script>